<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>后台首页-帖子管理</title>
		<link rel="stylesheet" type="text/css" href="__CSS__/mesdeal.css">
	</head>
	<body>
		<div>
			<!-- 顶部 -->
				<div class="top">
					<img src="__IMG__/tx.jpg" />
					<span class="top-1">论坛后台管理</span>
					<span class="top-2">欢迎您：{:session('uName')}</span>
				</div>
			<!-- 导航栏 -->
				<div class="navbar">
					<ul>
						<li><a href="{:url('deal/mesdeal')}">帖子管理</a></li>
						<li><a href="{:url('deal/userdeal')}">用户管理</a></li>
						<li><a href="{:url('deal/secdeal')}">版块管理</a></li>
						<li><a href="{:url('deal/bindeal')}">回收站管理</a></li>
						<li><a href="{:url('advdeal/advdeal')}">广告管理</a></li>
						<li><a href="{:url('advdeal/boxdeal')}">轮播图管理</a></li>
						<li><a href="{:url('admin/apa')}">修改密码</a></li>
						<li><a href="{:url('admin/alogout')}">注销</a></li>
						<li><a href="/mamx28/public/index.php/mamx_forum/Mamx">论坛前台</a></li>
					</ul>
				</div>
			<!-- 版块专区 -->
				<div class="section">
					<ul>
						{volist name="sec" id="secRow"}
							<li><a href="{:url('deal/mesdeal',['sid' => $secRow.s_id])}">{$secRow.s_name}</a></li>
						{/volist}
					</ul>
				</div>
				<!-- 提示版块区域 -->
				<div class="position">
					<div class="pos">
						<span>当前版块是</span>
						<span style="color: #629755;">{$thisSec}</span>
					</div>
					<div class="search">
							<form  method="post" action="{:url('deal/mesdeal',['sid'=>input('sid'),'search'=>input('search')])}">
								<input type="text" name='search' class="search1">
						
								<input type="submit"  value="搜索" class="search2">
								</form>
					</div>
				</div>
				<!-- 帖子列表 -->
				<div class="mes">
					<table>
						<tr class="head">
							<td>序 号</td>
							<td class="con">标 题</td>
							<td>发布时间</td>
							<td>作 者</td>
							<td>操 作</td>
						</tr>
						{volist name='mes' id='mesRow'}
						{if $mesRow.mbin==1}
						<tr>
							<td>{$i}</td>
							<td class="detail"><a href="{:url('deal/adetail',['mid'=>$mesRow.m_id])}">{$mesRow.m_title}</a></td>
							<td>{$mesRow.m_create|date='Y-m-d-  H:i:s'}</td>
							<td>{$mesRow.m_unick}</td>
							<td>
								<a href="{:url('deal/mesDel',['mid'=>$mesRow.m_id,'sid'=>input('sid')])}" style="color: #629755;">直接删除 </a> | 
								<a href="{:url('bindeal/binmesdel',['mid'=>$mesRow.m_id])}" style="color: #4D5EB1;">回收站</a>
							</td>
						</tr>
						{/if}
						{/volist}
					</table>
				</div>
		</div>
	</body>
</html>
